home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Prog
/
M
/
MacOberon241.cpt
/
MacOberon 2.4(1)
/
Sort.Tool
(
.txt
)
< prev
next >
Wrap
Oberon Text
|
1991-12-12
|
806b
|
20 lines
Syntax10.Scn.Fnt
Syntax10i.Scn.Fnt
Sort.Sort * Sort marked viewer
Sort.Sort ^ selection
Sort.Sort Test.Text file
Sort.Sort */r in reverse order
Sort.Sort */e include empty lines ({TAB | SPACE} CR)
Sort.Sort */u don't keep duplicates (unique lines only)
Sort.Sort */reu all of the above
Syntax:
Sort.Sort ("^" | "*" | <name>) ["/" {c}] where c IN {"r", "e", "u"}
Purpose:
Sort CR terminated lines. Display them in a separate viewer Sorted.Text.
Limitations:
Max line length: 256 (including CR)
Max lines: 2000
Exceeding the limits results in a trap.
WriteElements appear as characters and are not kept in the text.
Fonts and other attributes are not kept.